package com.iss.apartmentmanage.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("room_manage")
@ApiModel(value = "RoomManage",description = "房间管理的实体")
public class RoomManage {
    @TableId(type=IdType.AUTO)
    private Integer id;
    @ApiModelProperty("房间号=名字")
    private Integer areaId;
    private String roomName;
    private String roomType;
    private Double roomPrice;
    private String roomPicture;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @TableLogic
    private Integer deleted;
    private Integer isUsed;
}
